<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	//String path = request.getContextPath();
	String pageNum = request.getParameter("page");
    String orders = request.getParameter("orders");

    
	int pageSize = Integer.parseInt(request.getParameter("pageSize"));
	String name = request.getParameter("name");
	//name = new String(name.getBytes("iso-8859-1"),"utf-8");
	int totleNum = 200;
%>
<%=orders %>
<table border="1" class="table table-striped " data-bsh-type="ajax" data-page="<%=pageNum %>" data-pagecount="<%=totleNum %>">
        <thead>
        <tr style="background:#ccc;">
       		 <th ><input type="checkbox" data-type="checkbox"></th>
            <th >监测时间<%=request.getParameter("pageSize") %></th>
            <th >url</th>
            <th ><div>浏览器</div></th>
            <th data-order="nr" data-form="#eee"><div>内容${pageSize }
            <%
            if("nr-0".equals(orders)){
                out.print("▲");
            }
            if("nr-1".equals(orders)){
                out.print("▼");
            }
            %>
            </div></th>
          </tr>
       </thead>
       <tbody>
       <c:forEach var="x" begin="1" end="<%=pageSize %>" step="1" varStatus="s">
       		<tr>
        	 <td ><input name="id" type="checkbox" value="1"></td>
            <td ><%out.println(new java.util.Date()); %></td>
            <td >当前行：${s.index }</td>
            <td>总页数:<%=totleNum %>当前页码数：<%out.println(pageNum); %></td>
            <td><div>参数:name:<%=name %></div></td>
          </tr>
       </c:forEach>
        
          <tr>
          <td ><input type="checkbox" value="111"></td>
            <td ><%out.println(new java.util.Date()); %></td>
            <td data-substring="8">文字长度截取测试文字长度截取文字长度截取</td>
            <td>总页数:<%=totleNum %></td>
            <td><div>参数:name:<%=name %></div></td>
          </tr>
         
    </tbody>
</table>